<template>
  <van-tabbar v-model="active" :route="true">
    <van-tabbar-item icon="home-o" to='/home'>首页</van-tabbar-item>
    <van-tabbar-item icon="search" to='/special'>专题</van-tabbar-item>
    <van-tabbar-item icon="apps-o" to='/category'>分类</van-tabbar-item>
    <van-tabbar-item icon="shopping-cart-o" to='/cart'>购物车</van-tabbar-item>
    <van-tabbar-item icon="manager-o" to='/mine'>我的</van-tabbar-item>
  </van-tabbar>
</template>

<script>

// 引入底部导航栏
import Vue from "vue";
import { Tabbar, TabbarItem } from "vant";
Vue.use(Tabbar);
Vue.use(TabbarItem);

export default {
  name: "",
  data() {
    return {
      active:''
    };
  },
};
</script>

<style scoped>
</style>